package com.heima.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.article.dto.ArticleHomeDTO;
import com.heima.model.article.pojos.ApArticle;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: zhk
 * @since: 2025/6/26
 */
@Mapper
public interface ApArticleMapper extends BaseMapper<ApArticle> {
    /**
     * 首页刷新
     * @param articleHomeDTO
     * @param type
     * @return
     */
    List<ApArticle> load (ArticleHomeDTO dto,Short type);
}
